package com.ruoyi.project.jxc.domain;

import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Objects;

public class JxcMf extends BaseEntity {
    private Long mfId;
    private String mfName;
    private String mfCode;
    private String  mfLeader;
    private String phone;
    private String cruxFont;
    private String status;
    private String address;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "JxcMf{" +
                "mfId=" + mfId +
                ", mfName='" + mfName + '\'' +
                ", mfCode='" + mfCode + '\'' +
                ", mfLeader='" + mfLeader + '\'' +
                ", phone='" + phone + '\'' +
                ", cruxFont='" + cruxFont + '\'' +
                ", status=" + status +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        JxcMf jxcMf = (JxcMf) o;
        return Objects.equals(mfId, jxcMf.mfId) && Objects.equals(mfName, jxcMf.mfName) && Objects.equals(mfCode, jxcMf.mfCode) && Objects.equals(mfLeader, jxcMf.mfLeader) && Objects.equals(phone, jxcMf.phone) && Objects.equals(cruxFont, jxcMf.cruxFont) && Objects.equals(status, jxcMf.status);
    }

    @Override
    public int hashCode() {
        return Objects.hash(mfId, mfName, mfCode, mfLeader, phone, cruxFont, status);
    }

    public Long getMfId() {
        return mfId;
    }

    public void setMfId(Long mfId) {
        this.mfId = mfId;
    }

    public String getMfName() {
        return mfName;
    }

    public void setMfName(String mfName) {
        this.mfName = mfName;
    }

    public String getMfCode() {
        return mfCode;
    }

    public void setMfCode(String mfCode) {
        this.mfCode = mfCode;
    }

    public String getMfLeader() {
        return mfLeader;
    }

    public void setMfLeader(String mfLeader) {
        this.mfLeader = mfLeader;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCruxFont() {
        return cruxFont;
    }

    public void setCruxFont(String cruxFont) {
        this.cruxFont = cruxFont;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public JxcMf(Long mfId, String mfName, String mfCode, String mfLeader, String phone, String cruxFont, String status) {
        this.mfId = mfId;
        this.mfName = mfName;
        this.mfCode = mfCode;
        this.mfLeader = mfLeader;
        this.phone = phone;
        this.cruxFont = cruxFont;
        this.status = status;
    }

    public JxcMf() {
    }
}
